package cn.stylefeng.guns.modular.project.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2019-10-21
 */
@TableName("project_member_work")
@Data
@ToString
public class ProjectMemberWork implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 项目ID
     */
    @TableField("project_id")
    private Integer projectId;

    /**
     * 用户ID
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 记录日期
     */
    @TableField("work_date")
    private Date workDate;

    /**
     * 工作时长
     */
    @TableField("work_hour")
    private BigDecimal workHour;

    @TableField("overtime_hour")
    private BigDecimal overtimeHour;

    @TableField("work_product")
    private String workProduct;

}
